package com.king.bean.msg;

import com.king.bean.entity.Video;
import com.thoughtworks.xstream.annotations.XStreamAlias;

import java.util.Map;

@XStreamAlias("xml")
public class WxVideoMessage extends WxBaseMessage{

    @XStreamAlias("Video")
    private Video video;

    public Video getVideo() {
        return video;
    }

    public void setVideo(Video video) {
        this.video = video;
    }

    public WxVideoMessage(Map<String, Object> requestMap,Video video) {
        super(requestMap);
        this.setMsgType("video");
        this.video=video;
    }
}
